package cn.stylefeng.guns.modular.service;

import cn.stylefeng.guns.modular.entity.Room;
import cn.stylefeng.guns.modular.model.MiniAppTreeNode;
import cn.stylefeng.guns.modular.vo.RoomDetailVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;

/**
 * @author 李宝嘉
 * @Date 2021/12/23 14:26
 */
public interface RoomsService extends IService<Room> {
    List<Room> list();

    List<MiniAppTreeNode> tree();

    Date getCloseTimeBySeatId(Long seatId);

    RoomDetailVO getRoomDetail(String roomId);

    void add(Room room);

    List<MiniAppTreeNode> getTopLevel();
}
